doctype html
//html(lang='en', ng-modules='backofficeApp,userManagerApp')
html(lang='en', ng-app='backofficeApp')
    head
        meta(charset='utf-8')
        meta(name='viewport', content='width=device-width, initial-scale=1, user-scalable=no')
        title= title
        link(rel='stylesheet', href='/css/style.css')
        link(rel='stylesheet', href='/lib/angular/ng-table.css')
        link(rel="stylesheet" ,href="/lib/stylesheets/simditor.css")
        link(rel="stylesheet", href="/lib/stylesheets/font-awesome.css")
            <!-- 富文本编辑-->
        script(src="/lib/kindeditor/kindeditor.js")
        script(src="/lib/kindeditor/lang/zh_CN.js")
        script.
            KindEditor.ready(function (K) {
                window.editor = K.create('#editor_id');
            });
            <!-- opensource libs -->
        script(src="http://libs.useso.com/js/jquery/2.1.1/jquery.min.js")
        script(src="http://libs.useso.com/js/angular.js/1.2.9/angular.min.js")
        <!-- other libs -->
        script(src="/lib/javascripts/simditor/simditor-all.js")
        script(src="/lib/javascripts/angular-editor.js")
            <!-- Font Awesome CSS -->
        link(rel='stylesheet', href='/lib/bootstrap/css/font-awesome.min.css')
            <!---Bootstrap CSS-->
        link(rel='stylesheet', href='/lib/bootstrap/css/bootstrap.css')
        link(rel='stylesheet', href='/lib/bootstrap/css/bootstrap-theme.min.css')
        link(rel='stylesheet', href='/lib/bootstrap/css/datepicker.css')
            <!-- App CSS -->
        link(rel='stylesheet', href='/lib/bootstrap/css/mvpready-admin-belize.css')
        link(rel='stylesheet', href='/lib/bootstrap/css/mvpready-flat.css')
        link(rel='stylesheet',href='/lib/jquery/css/jquery-ui-1.11.2.css')
        //登录界面的css
        link(rel='stylesheet', href='css/signin.css')
            <!--JQuery JavaScript-->
        script(src='/lib/jquery/js/jquery-1.9.1.js', type="text/javascript")
        script(src='/lib/jquery/js/jquery-ui-1.11.2.js', type="text/javascript")
        script(src='/lib/jquery/jquery.validate.min.js', type="text/javascript")
        script(src='/lib/jquery/jquery.qrcode.js', type="text/javascript")
        script(src='/lib/jquery/qrcode.js', type="text/javascript")

            <!--Angular JavaScript-->
        script(src='/lib/angular/angular.js', type="text/javascript")
        script(src='/lib/angular/angular-route.js', type="text/javascript")
        script(src='/lib/angular/angular-resource.js', type="text/javascript")
        script(src='/lib/angular/ngStorage.js', type="text/javascript")
        script(src='/lib/angular/ng-table.js', type="text/javascript")
            <!--BootStrap JavaScritp-->
        script(src='/lib/bootstrap/js/bootstrap.min.js', type="text/javascript")
        script(src='/lib/bootstrap/js/jquery.bootstrap.wizard.js', type="text/javascript")
        script(src='/lib/bootstrap/js/bootbox.js', type="text/javascript")
        script(src='/lib/bootstrap/js/bootstrap-datepicker.js', type="text/javascript")
        script(src='/lib/bootstrap/js/bootstrap-typeahead.js', type="text/javascript")

            <!--utility -->
        script(src='js/utility/jsonToCSV.js')

            <!--用户管理  ： FIX ME ：目前只会放到这里-->
        script(src='js/common/angular-file-upload.js')
        script(src='/js/system/backendUser/backendUser-controller.js')
        script(src='/js/system/backendUser/backendServiceUser-controller.js')
        script(src='js/system/frontendUser/frontendUser-controller.js')
        script(src='/js/common/upload.js',type="text/javascript")
        script(src='/js/system/backendHome-controller.js',type="text/javascript")
        script(src='/js/system/backendConsole-controller.js', type="text/javascript")
        script(src='/js/system/promotionCode-controller.js')
            <!--App JavaScript-->
        script(src='/js/route.js')
        script(src='/js/readBackendGlobalConfig.js')
            <!--问答管理-->
        script(src='/js/QuestionManager/QuestionManager-controller.js')
        script(src='/js/QuestionManager/QuestionManager-service.js')
        script(src='/js/QuestionManager/QuestionAdd-controller.js')
            <!--短信管理-->
        script(src='/js/ShortMessageManager/ShortMessageManager-controller.js')
        script(src='/js/ShortMessageManager/ShortMessageManager-service.js')
            <!--小6客服-->
        script(src='/js/CustomerManager/CustomerManager-controller.js')
        script(src='/js/CustomerManager/CustomerManager-service.js')
        script(src='/js/TopicManager/TopicManager-controller.js')
        script(src='/js/TopicManager/TopicManager-service.js')
            <!--登录管理-->
        script(src='/js/login-controller.js')
            <!--抽奖活动管理-->
        script(src='js/lottery/lotteryList-controller.js')
            <!--积分商场-->
        script(src='/js/ScoreShopManager/ScoreShopManager-controller.js')
        script(src='/js/MutualAidManager/MutualAid-controller.js')
        script(src='/js/VoucherManager/voucher-manager.js')
        script(src='/js/VoucherManager/retailer-controller.js')
        script(src='/js/VoucherManager/retailerCommunity-controller.js')
        script(src='/js/VoucherManager/retailerExchange-controller.js')

        script(src='/js/VoucherManager/communityRewardRule-controller.js')
        script(src='/js/VoucherManager/retailerBalance-controller.js')

        <!--banner管理-->
        script(src='/js/BannerManager/bannerList-controller.js')
        script(src='/js/BannerManager/bannerAdd-controller.js')
        script(src='/js/BannerManager/bannerEdit-controller.js')
        script(src='/js/BannerManager/bannerOrder-controller.js')

        <!--客服积分管理-->
        script(src='/js/cs/replyAtService.js')

        script(src='/js/system/appErrorLog-controller.js')
        script(src='/js/reportManager/report-controller.js')
            body
        nav.navbar.navbar-inverse.navbar-fixed-top(role='navigation')
            .container
                .navbar-header
                    button.navbar-toggle(type='button', data-toggle='collapse', data-target='.navbar-collapse')
                        span.sr-only Toggle navigation
                        span.icon-bar
                        span.icon-bar
                        span.icon-bar
                    a.navbar-brand(href='#/index')
                        img(src='../img/logo.png', alt='Typica - Bootstrap Awesome Template!', height='130%')
                .collapse.navbar-collapse(role='nagivation')
                    ul#menuId.nav.navbar-nav.navbar-right
                        li.dropdown.navbar-profile
                            a.dropdown-toggle(data-toggle='dropdown')
                                | 平台运营
                                i.fa.fa-caret-down
                            ul.dropdown-menu.menu-top
                                li.dropdown-submenu
                                    a(href='#')
                                        | 营销管理
                                    ul.dropdown-menu
                                        li
                                            a(href='#/specialNews')
                                                | 新鲜事儿管理
                                        li
                                            a(href='#topic')
                                                | 专题管理
                                        li
                                            a(href='#activity')
                                                | 活动管理
                                        li
                                            a(href='#push')
                                                | 消息推送
                                        li
                                            a(href='#promotionCode')
                                                | 推广码管理
                                li.dropdown-submenu
                                    a(href='#')
                                        | 问答管理
                                    ul.dropdown-menu
                                        li
                                            a(href='#recommendQuestion/all/all/all/all/empty/empty/empty/empty/all')
                                                | 问答管理
                                        li
                                            a(href='#noReplyQuestion')
                                                | 客服回复
                                        li
                                            a(href='#reportQuestion')
                                                | 举报管理
                                li.dropdown-submenu
                                    a(href='#')
                                        | 积分商场
                                    ul.dropdown-menu
                                        li
                                            a(href='#scoreShop')
                                                | 商品列表
                                        li
                                            a(href='#exchangeRecord')
                                                | 兑换记录
                                        li
                                            a(href='#addScore')
                                                | 用户加分
                                        li
                                            a(href='#searchValue')
                                                |情值查询
                                li.dropdown-submenu
                                    a(href='#')
                                        | 消息管理
                                    ul.dropdown-menu
                                        li
                                            a(href='#shortMessageManager')
                                                | 短信管理
                                        li
                                            a(href='#chatMessageManager')
                                                | IM聊天记录管理
                                        li
                                            a(href='#appErrorLog')
                                                | 错误日志
                                li.dropdown-submenu
                                    a(href='#')
                                        | 客服管理
                                    ul.dropdown-menu
                                        li
                                            a(href='#customerManager')
                                                | 客服群发消息
                                        li
                                            a(href='#authentication')
                                                | V认证申请管理
                                        li
                                            a(href='#/supplement')
                                                | 小区电话信息补充
                                        li
                                            a(href='#/community')
                                                | 小区信息管理
                                        li
                                            a(href='#notice')
                                                | 发布公告
                                        li
                                            a(href='#/community/applications')
                                                | 小区申请管理
                                        li
                                            a(href='#/replyAtCsList')
                                                | @小六客服
                                li
                                    a(href='#mutualAid')
                                        | 互助管理
                                li.dropdown-submenu
                                    a(href='#')
                                        | 抽奖活动管理
                                    ul.dropdown-menu
                                        li
                                            a(href='#lotteryList')
                                                | 抽奖活动列表
                                        li
                                            a(href='#productList')
                                                | 抽奖商品列表
                                li.dropdown-submenu
                                    a(href='#')
                                        | banner管理
                                    ul.dropdown-menu
                                        li
                                            a(href='#bannerList/1')
                                                | banner和新鲜事管理
                                            a(href='#bannerOrder/1/all')
                                                | banner和新鲜事顺序管理
                        li.dropdown.navbar-profile
                            a.dropdown-toggle(href='javascript:;', data-toggle='dropdown')
                                | 福利管理
                                i.fa.fa-caret-down
                            ul.dropdown-menu(role='menu')
                                li
                                    a(href='#/voucherType')
                                        | 奖励类型
                                li
                                    a(href='#/retailer')
                                        | 商家管理
                                li
                                    a(href='#/retailerCommunity')
                                        | 小区商铺合作管理
                                li
                                    a(href='#/communityRewardRule')
                                        | 小区奖励管理
                                li
                                    a(href='#/voucher')
                                        | 代金券查询
                                li
                                    a(href='#/retailerExchange')
                                        | 商家交易查询
                                li
                                    a(href='#/retailerBalance')
                                        | 结算管理
                                li
                                    a(href='#/voucherStatistics')
                                        | 代金券统计
                                li
                                    a(href='#/voucherConsumeStatistics')
                                        | 消费统计
                                li
                                    a(href='#/voucherIsSettlement')
                                        | 结算记录查询
                        li.dropdown.navbar-profile
                            a.dropdown-toggle(href='javascript:;', data-toggle='dropdown')
                                | 系统管理
                                i.fa.fa-caret-down
                            ul.dropdown-menu(role='menu')
                                li
                                    a(href='#/frontendUser')
                                        | 前端用户管理
                                li
                                    a(href='#/backendServiceUser')
                                        | 客服上线管理
                                li
                                    a(href='#/backendUser')
                                        | 后台用户管理
                                li.dropdown-submenu
                                    a(href='#')
                                        | 控制台
                                    ul.dropdown-menu
                                        li
                                            a(href='#console')
                                                | 数据统计
                                        li
                                            a(href='#download')
                                                | csv下载
                                        li
                                            a(href='#pushRecord')
                                                | 推送统计
                        li.dropdown.navbar-profile
                            a.dropdown-toggle(href='javascript:;', data-toggle='dropdown')
                                img.navbar-profile-avatar(alt='', src='./img/anonymousUser.jpg')
                                i.fa.fa-caret-down
                            ul.dropdown-menu(role='menu')
                                li
                                    a(href='#')
                                        | 个人信息(ToDo...)
                                li
                                    a(href='#')
                                        | 个人设置(ToDo...)
                                li.divider
                                li
                                    a(ng-click='logout()')
                                        | 退出
        block content
